package com.lxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName(value = "users")
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    //id
    private Long id;
    //微信用户唯一标识
    private String openId;
    //姓名
    private String name;
    //手机号
    private String phone;
    //邮箱
    private String email;
    //账号
    private String account;
    //密码
    private String password;
    //性别
    private String sex;
    //身份证号
    private String idNumber;
    //头像
    private String avatar;
    //创建时间
    private LocalDateTime createTime;
    //账户是否被禁用,1表示正常，0表示禁用
    private Integer banded;
    //是否是vip，1表示是，0表示不是
    private Integer isVip;
    //vip结束时间
    private LocalDateTime vipEndTime;
}


















